package com.junit;

import static org.junit.Assert.*;

import org.junit.Test;

public class Annoation {

	@Test(timeout = 100)
	public void test() {
		while (true) {
			System.out.println("system.out..");
		}
	}

	@Test(expected=AssertionError.class)
	public void add() {
		assertEquals(6, new Calculate().add(3, 4));
	}

}
